/**
 * @ClassName Keyboard
 * @Description 键盘类：要实现USB接口，并具备键入的功能
 * @Author Li
 * @Date 2022/8/2 10:40
 * @ModifyDate 2022/8/2 10:40
 * @Version 1.0
 */
public class Keyboard implements USB {
    @Override
    public void open() {
        System.out.println("打开键盘");
    }

    @Override
    public void close() {
        System.out.println("关闭键盘");
    }

    public void type() {
        System.out.println("键盘打字");
    }
}
